package com.wanxi.controller;

import com.wanxi.model.Student;
import com.wanxi.model.Teacher;

public class MyTest {
    public static void main(String[] args) {
        Student student = new Student("123", "张三", 11);
//        Student student = new Student("11");
//        子类可以有自己独有的方法
//        student.study();
//        student.setAge(11);
//        student.setName("张三");
//        student.setSid("123");
//        System.out.println(student);
//
//        Teacher teacher = new Teacher();
//        teacher.teach();

    }
}
